<?php


namespace app\community\oauth2\Entities;


use League\OAuth2\Server\Entities\ScopeEntityInterface;

class ScopeEntity implements ScopeEntityInterface
{

    public function __construct(protected mixed $userIdentifier) {}

    public function getIdentifier()
    {
        // TODO: Implement getIdentifier() method.
        return $this->userIdentifier;
    }

    public function jsonSerialize(): mixed {
        // TODO: Implement jsonSerialize() method.
        return [];
    }
}